package com.demo.springcloud.fallback;

import com.demo.springcloud.service.HelloService;
import org.springframework.stereotype.Component;

@Component
public class MyFallback implements HelloService {

    @Override
    public String hello() {
        return "hello远程服务不可用";
    }
}
